home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / PROGS / GLE / TEXTURE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-12  |  459 b   |  27 lines

  1.  
  2. /*
  3.  * texture.h
  4.  *
  5.  * FUNCTION:
  6.  * texture mapping hack
  7.  *
  8.  * HISTORY:
  9.  * Created by Linas Vepstas April 1994
  10.  */
  11.  
  12. typedef struct {
  13.    int size;
  14.    unsigned char * pixmap;
  15. } Texture;
  16.  
  17. extern Texture * current_texture;
  18.  
  19. extern Texture * planet_texture;
  20. extern Texture * check_texture;
  21. extern Texture * barberpole_texture;
  22. extern Texture * wild_tooth_texture;
  23.  
  24. extern void setup_textures (void);
  25.  
  26. /* ================== END OF FILE ========================= */
  27.